package com.meitianhui.convenitenbuy.module.mine.model;

import com.meitianhui.convenitenbuy.base.BaseResponse;

import java.util.List;

/**
 * 省市区选择
 * Created by liuwy on 2015/12/16.
 */
public class Region extends BaseResponse {


    private String id;
    private String value;
    private String parentId;
    private List<Children> children;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public List<Children> getChildren() {
        return children;
    }

    public void setChildren(List<Children> children) {
        this.children = children;
    }

    public class Children
    {
        private String id;
        private String value;
        private String parentId;
        private List<ChildClass> children;


        public List<ChildClass> getChildren() {
            return children;
        }

        public void setChildren(List<ChildClass> children) {
            this.children = children;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public class ChildClass
        {
            private String id;
            private String value;
            private String parentId;
            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }
        }
    }

}
